<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function foo(name, age, height) {
            console.log("foo函数被调⽤:", this);
            console.log("打印参数:", name, age, height);
        }
        foo('gkd',18,1.8)
        foo.apply('apply',['niko',26,1.74])
    </script>
</body>
</html>